from Employee import Employee

class Salesman(Employee):
    """销售员"""
    def __init__(self, name, sales=0):
        super().__init__(name)
        self.sales = sales
    def get_salary(self):
        """结算月薪"""
        return 1500 + self.sales * 0.05

    def __str__(self):
        return f'销售员：{self.name}'
